/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.client;

import ac.za.cput.marks.Impl.MarksImpl;
import ac.za.cput.marks.Marks;

/**
 *
 * @author Enkosi
 */
public class MarksApp {
    public static void main (String[]args){
        Marks marks = new MarksImpl();
        int []list = {59,45,60,70,81,92,23};
        System.out.println("The highest mark is: " + marks.highest(list));
        System.out.println("The lowest mark is: " + marks.lowest(list));
        System.out.println(String.format("The average mark is: %.2f", marks.average(list)));
    }    
}
